package com.tsunami.authority.entity.core;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tsunami.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author lx
 * @since 2021-09-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("tnm_core_station")
@ApiModel(value="Station", description="岗位")
public class Station extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户号")
    @TableField(value = "tenant_id")
    private Long tenantId;

    @ApiModelProperty(value = "岗位名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "组织ID")
    @TableField(value = "org_id")
    private Long orgId;

    @ApiModelProperty(value = "是否启用")
    @TableField(value = "status")
    private String status;

    @ApiModelProperty(value = "描述")
    @TableField(value = "describe_")
    private String describe;
}
